package com.leet.code.lcof;

public class Code05 {
    public static void main(String[] args) {
        String s = "We are happy.";
        System.out.println(replaceSpace(s));
    }


    public static String replaceSpace(String s) {
       return s.replace(" ", "%20");
    }
}
